package org.example.curriculum_design_6_16.service;

import org.example.curriculum_design_6_16.entity.pojo.Role;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 郑凯
* @description 针对表【role】的数据库操作Service
* @createDate 2025-06-16 13:21:30
*/
public interface RoleService extends IService<Role> {
    public void assignDefaultRole(String userId);
    public void assignRole(String userId, String roleId);
    public void removeRole(String userId, String roleId);
    public void clearUserRoles(String userId);
}
